// DataManage.h


#define  MY_DLL_EXPORT

#ifdef   MY_DLL_EXPORT
#define   _DLL_EXPORT_   __declspec(dllexport)
#else
#define   _DLL_EXPORT_   __declspec(dllimport)
#endif

#ifndef _DATAMANAGE_
#define _DATAMANAGE_

class BaseSocket;
class PerIoData;

extern "C" class _DLL_EXPORT_  DataManage
{
public:
	// server
	virtual void afterRecvData(const BaseSocket * const, const PerIoData * const);
	virtual void afterAcceSock(const BaseSocket &);
	// client
	virtual void afterRecvData(PerIoData *);
	virtual void afterConnectServer(PerIoData*);
};

#endif